<?php
return array(
	'detailView' => array(
		'attributes' => array(
			array(
				'name' => 'profile.type',
				'value' => Yii::app()->enum->lookup('goods.travelType',CHtml::value($model, 'profile.type'))
			),
			array(
				'name' => 'profile.traffic',
				'value' => Yii::app()->enum->lookup('goods.trafficType',CHtml::value($model, 'profile.traffic'))
			),
			array(
				'name' => 'profile.travel_province',
				'value' => Yii::app()->enum->lookup('district', CHtml::value($model, 'profile.travel_province'))
					.' '.Yii::app()->enum->lookup('district', CHtml::value($model, 'profile.travel_city'))
			),
			array(
				'name' => 'profile.departure_province',
				'value' => Yii::app()->enum->lookup('district', CHtml::value($model, 'profile.departure_province'))
				.' '. Yii::app()->enum->lookup('district', CHtml::value($model, 'profile.departure_city'))
			),
			'profile.departure_address',
			'profile.departure_time',
			'profile.return_time',
			'profile.total_num',
			'profile.num',
			'profile.day_number',
			'profile.start_time',
			'profile.end_time',
			'profile.emergency_tel',
			'profile.send_group',
			'profile.service',
			array(
				'name' => 'profile.desc',
				'type' => 'raw'
			),
		),
	),
	'_import' => array(
		array('*', 'actions.goods.goodsView//*'),
		array('detailView.*','actions.goods.goodsView//detailView.*'),
		array('detailView.attributes.*', 'actions.goods.goodsView//detailView.attributes.*'),
	),
)?>